<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Tela
 *
 * @author thiago
 */
class Tela extends Smarty {
  
  public function __construct() {
    parent::__construct();
    $this->setTemplateDir("View/tpl");
    $this->setCompileDir("View/tplc");    
  }

  public static function print__r($print){
    echo "<pre>";
    print_r($print);
    echo "</pre>";
  }


  public function homePage() {
    $this->display("homePage.tpl");
  }

  public function novoEmail() {
    $this->display("FormularioEmail.tpl");
  }
  
  public function Login(){
    $this->display("Login.tpl");
  }
  
  public function redireciona($prox_página){
    header("location:?p=" . $prox_página);
  }

}

?>